# CMake 最低版本号要求
cmake_minimum_required (VERSION 2.8)

# 项目信息
project (Demo1)

MESSAGE("------------------->")

MESSAGE("${CMAKE_CURRENT_SOURCE_DIR}")
MESSAGE("${CMAKE_CURRENT_LIST_DIR}")

MESSAGE("${CMAKE_BINARY_DIR}")
MESSAGE("${PROJECT_BINARY_DIR}")

MESSAGE("${CMAKE_SOURCE_DIR}")
MESSAGE("${PROJECT_SOURCE_DIR}")

MESSAGE("${CMAKE_CURRRENT_BINARY_DIR}")

MESSAGE("${CMAKE_CURRENT_LIST_FILE}")
MESSAGE("${CMAKE_CURRENT_LIST_LINE}")

MESSAGE("${CMAKE_MODULE_PATH}")

MESSAGE("${EXECUTABLE_OUTPUT_PATH}")
MESSAGE("${LIBRARY_OUTPUT_PATH}")
MESSAGE("${PROJECT_NAME}")
MESSAGE("<-------------------")

include_directories ("${PROJECT_SOURCE_DIR}/math")

# 指定生成目标
add_executable(Demo cc.cpp)